package com.accesshollywood.grfxOrdering;

import org.joda.time.LocalTime;

public enum DateTimePreset {
	// enumname (label, days from now, time of day)
	LIVE("Live Show", 0, "8:00"),
	DAILY("Daily Show", 0, "11:30"),
	NEXTLIVE("Next Live Show", 1, "8:00"),
	NEXTDAILY("Next Daily Show", 1, "11:30");

	public String label;
	public int daysFromNow;
	public LocalTime time;

	DateTimePreset(String label, int daysFromNow, String time) {
		this.label = label;
		this.daysFromNow = daysFromNow;
		int hour = Integer.parseInt(time.split("\\:")[0]);
		int minute = Integer.parseInt(time.split("\\:")[1]);
		this.time = new LocalTime(hour, minute);
	}
}
